package com.hanggold.springboot.listener;

import org.springframework.context.ApplicationEvent;
import org.springframework.stereotype.Component;


public class MyApplicationEvent extends ApplicationEvent {

    public MyApplicationEvent(Object source){
        super(source);
        System.out.println("事件处理");
    }
}
